package HospitalApplication;

import java.awt.print.Paper;
import java.util.Scanner;

public class Randezvous extends Person{
	Doctor doc;
	Patient pat; 
	String problem;
	String date;
	DoctorApplications dApp = new DoctorApplications();
	PatientApplication pApp = new PatientApplication();
	
	public Randezvous createRandezvous() {
		Scanner sc = new Scanner(System.in);
		
		System.out.println("Enter ID : ");
		this.id = sc.nextLine();
		
		System.out.println("Enter Doctor ID: ");
		this.doc = dApp.getDoctor(sc.nextLine());
		
		System.out.println("Enter Patient ID");
		this.pat = pApp.getPatient(sc.nextLine());
		
		System.out.println("Enter Problem");
		this.problem = sc.nextLine();
		
		System.out.println("Enter Date");
		this.date = sc.nextLine();
		return this;
	}
}
